try{
	Type.registerNamespace('PorderInMakeVO');
	//采购入库单自制
	PorderInMakeVO = function(){};
	PorderInMakeVO.prototype = new NCMMPubUtil.SuperVO();
	//主键
	PorderInMakeVO.PK_SCAN={
		name:"pk_scan", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表头部分
	//出库类型
	PorderInMakeVO.CTRANTYPEID={
		name:"ctrantypeid", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//出库类型名称
	PorderInMakeVO.CTRANTYPEID_NAME={
		name:"ctrantypeid_name", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//仓库
	PorderInMakeVO.CWAREHOUSEID={
		name:"cwarehouseid", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//仓库名称
	PorderInMakeVO.CWAREHOUSEID_NAME={
		name:"cwarehouseid_name", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//库存组织
	PorderInMakeVO.PK_ORG={
		name:"pk_org", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	
	//表体部分
	//物料
	PorderInMakeVO.CMATERIALVID={
		name:"cmaterialvid", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料编码
	PorderInMakeVO.MATERIALCODE={
		name:"materialcode", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料名称
	PorderInMakeVO.MATERIALNAME={
		name:"materialname", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//规格
	PorderInMakeVO.MATERIALSPEC={
		name:"materialspec", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//型号
	PorderInMakeVO.MATERIALTYPE={
		name:"materialtype", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//扫描主数量
	PorderInMakeVO.NSCANNUM={
		name:"nscannum", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//扫描数量
	PorderInMakeVO.NSCANASTNUM={
		name:"nscanastnum", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//换算率
	PorderInMakeVO.VCHANGERATE={
		name:"vchangerate", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//主单位
	PorderInMakeVO.CUNITID={
		name:"cunitid", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//主单位名称
	PorderInMakeVO.CUNITID_NAME={
		name:"cunitid_name", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//辅单位
	PorderInMakeVO.CASTUNITID={
		name:"castunitid", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//辅单位名称
	PorderInMakeVO.CASTUNITID_NAME={
		name:"castunitid_name", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//批次号
	PorderInMakeVO.VBATCHCODE={
		name:"vbatchcode", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	PorderInMakeVO.PK_BATCHCODE={
		name:"pk_batchcode", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//序列号
	PorderInMakeVO.VSERIALCODE={
		name:"vserialcode", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//货位
	PorderInMakeVO.PK_RACK={
		name:"pk_rack", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//货位名称
	PorderInMakeVO.PK_RACK_NAME={
		name:"pk_rack_name", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//供应商
	PorderInMakeVO.CVENDORID={
		name:"cvendorid", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	PorderInMakeVO.CVENDORID_NAME={
		name:"cvendorid_name", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	PorderInMakeVO.prototype.getAllAttrs = function(){
		return [PorderInMakeVO.PK_SCAN,
		PorderInMakeVO.CTRANTYPEID,
		PorderInMakeVO.CTRANTYPEID_NAME,
		PorderInMakeVO.CWAREHOUSEID,
		PorderInMakeVO.CWAREHOUSEID_NAME,
		PorderInMakeVO.PK_ORG,
		PorderInMakeVO.CMATERIALVID,
		PorderInMakeVO.MATERIALCODE,
		PorderInMakeVO.MATERIALNAME,
		PorderInMakeVO.MATERIALSPEC,
		PorderInMakeVO.MATERIALTYPE,
		PorderInMakeVO.NSCANNUM,
		PorderInMakeVO.NSCANASTNUM,
		PorderInMakeVO.VCHANGERATE,
		PorderInMakeVO.CUNITID,
		PorderInMakeVO.CUNITID_NAME,
		PorderInMakeVO.CASTUNITID,
		PorderInMakeVO.CASTUNITID_NAME,
		PorderInMakeVO.VBATCHCODE,
		PorderInMakeVO.PK_BATCHCODE,
		PorderInMakeVO.VSERIALCODE,
		PorderInMakeVO.PK_RACK,
		PorderInMakeVO.PK_RACK_NAME,
		PorderInMakeVO.CVENDORID,
		PorderInMakeVO.CVENDORID_NAME
    ]};
    
    PorderInMakeVO.prototype.getTableName = function(){
		return "ic_PorderInMake";
	};
	PorderInMakeVO.prototype.getPrimaryAttr = function(){
		return PorderInMakeVO.PK_SCAN;
	};
	
}catch(e){$e(e);}